#pragma once

#include <string>
#include "cg/cg.h"
#include "Tree.h"

namespace PeanutQuest {

	class ICollidable;
	class Enemy;
	class ConfigManager;

	class TreeManager :
		public cg::Entity,
		public cg::IDrawListener,
		public cg::IUpdateListener
	{
	private:
		std::vector<Tree*> trees;
		ConfigManager* config;

	public:
		TreeManager(std::string id);
		~TreeManager();
		
		void init();
		void update(unsigned long elapsed_millis);
		void draw();
		void deleteTree(Tree* tree);
	};
}